﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="Chowpoo.Util" %>
<%
    var type = (byte)Model;
    var pointArray = new[] {"", "", "", "", "", "","",""};
    pointArray[type] = "0";
    var i = 1;//1文本2图像3Flash4音频5视频6PPT7学习包
%>
  <tr>
    <td height="25" bgcolor="#98c1e1"><table width="1000" height="25" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="166"></td>
        <td width="10"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7" align="absmiddle"></td>
       
        <td width="40" valign="middle" class="style11">
        <a href="<%=Url.Action("Index","Resources",new{type=1}) %>" class="<%=type==1?"style26":"guide" %>">文本</a></td>
        <td width="10" valign="middle" class="style1"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7"></td>
        <td width="40" valign="middle" class="style11"><a href="<%=Url.Action("Index","Resources",new{type=2}) %>" class="<%=type==2?"style26":"guide" %>">图像</a></td>
        <td width="10" valign="middle" class="style1"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7"></td>
        <td width="45" valign="middle" class="style11"><a href="<%=Url.Action("Index","Resources",new{type=3}) %>" class="<%=type==3?"style26":"guide" %>">Flash</a></td>
        <td width="12" valign="middle" class="style1"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7"></td>
        <td width="40" valign="middle" class="style11"><a href="<%=Url.Action("Index","Resources",new{type=4}) %>" class="<%=type==4?"style26":"guide" %>">音频</a></td>
        <td width="12" valign="middle" class="style1"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7"></td>
        <td width="40" valign="middle" class="style11"><a href="<%=Url.Action("Index","Resources",new{type=5}) %>" class="<%=type==5?"style26":"guide" %>">视频</a></td>
        <td width="11" valign="middle" class="style1"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7"></td>
        <td width="40" valign="middle" class="style11"><a href="<%=Url.Action("Index","Resources",new{type=6}) %>" class="<%=type==6?"style26":"guide" %>">PPT</a></td>
           <td width="11" valign="middle" class="style1"><img src=" <%=ResolveUrl("~/Content/images/" + pointArray[i++] + "2_14.gif")%>" width="7" height="7"></td>
        <td width="50" valign="middle" class="style11"><a href="<%=Url.Action("Index","Resources",new{type=7}) %>" class="<%=type==7?"style26":"guide" %>">学习包</a></td>
        <td width="352"></td>
      </tr>
    </table>
    </td>
  </tr>
